/*
 * Vuex 全局状态管理
 * @see https://vuex.vuejs.org/en/
 * @Author: ljb
 * @Date: 2018-11-13 15:01:05
 * @Last Modified by: kanglin
 * @Last Modified time: 2019-01-22 17:31:05
 */

import Vue from 'vue';
import Vuex from 'vuex';

import article from './modules/article';
import app from './modules/app';

const config = {
	modules: {
		app,
		article,
	},
};

Vue.use(Vuex);

const store = new Vuex.Store(config);

export default store;
